.Attribute {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 350px;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

.Attribute-title {
  padding: 5px;
  background: #f2f2f2;
  border-bottom: 1px solid #dad9da;
  position: relative;
}

.Attribute-title .Attribute-title-ext-button {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  line-height: 34px;
  text-align: center;
  cursor: pointer;
  font-size: 0.8em;
}

.Attribute-title .Attribute-title-ext-pane {
  background: #f3f3f3;
  margin: 5px -5px -5px;
  padding: 5px;
  flex-wrap: wrap;
  display: none;
}

.Attribute-title .Attribute-title-ext-pane > label {
  width: 50%;
  padding: 3px;
  box-sizing: border-box;
}

.Attribute-title .Attribute-title-ext-button:hover,
.Attribute-title.expanded .Attribute-title-ext-button {
  background: #f3f3f3;
  color: #8cb0ef;
}

.Attribute-title.expanded .Attribute-title-ext-pane {
  display: flex;
}

.Attribute-items {
}

.Attribute-item {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #efefef;
  border-top: none;
  display: flex;
  flex-wrap: wrap;
}

.Attribute-item-title {
  box-sizing: border-box;
  border-right: 1px solid #efefef;
  width: 40%;
  text-align: left;
  line-height: 32px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.Attribute-item-content {
  width: 60%;
}

.Attribute-item-content input,
.Attribute-item-content select {
  box-sizing: border-box;
  height: 32px;
  border: none;
  background: transparent;
  padding: 5px;
}

.Attribute-item-content > input,
.Attribute-item-content > select,
.Attribute-item-content .Attribute-item-content-group {
  box-sizing: border-box;
  width: 100%;
  height: 32px;
}

.Attribute-item-content-group {
  position: relative;
}

.Attribute-item-content-group input {
  width: 80%;
}

.Attribute-item-content-group .input-add-on {
  display: inline-block;
  box-sizing: border-box;
  width: 20%;
  height: 100%;
  padding: 5px;
  vertical-align: top;
  background: transparent;
}

.Attribute-item-content-group .input-add-on div {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.Attribute-item .fa {
  width: 20px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
}

.Attribute-item-wrapper {
  width: 100%;
}

.Attribute-item-details {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.Attribute-item-wrapper.collapsed .Attribute-item-details {
  display: none;
}

.Attribute-item-wrapper .fa-caret-down {
  transition: transform 0.3s ease-in-out;
}

.Attribute-item-wrapper.collapsed .fa-caret-down {
  transform: rotate(-90deg);
}

.Attribute-item-details .Attribute-item-title {
  padding-left: 20px;
}

.Attribute-item-details .Attribute-item-details .Attribute-item-title {
  padding-left: 30px;
}

.Attribute-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.Attribute-color-picker-btn {
  cursor: pointer;
  border: 1px solid #efefef;
}

.Attribute-color-picker-popover {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 10;
}
